package com.eshop.modules.order.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.order.service.dto.ExpressDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.order.service.dto.ExpressQueryCriteria;
import com.eshop.modules.order.domain.EshopExpress;
import com.eshop.common.service.BaseService;

public interface ExpressService extends BaseService<EshopExpress>
{
    Map<String, Object> queryAll(final ExpressQueryCriteria criteria, final Pageable pageable);
    
    List<EshopExpress> queryAll(final ExpressQueryCriteria criteria);
    
    void download(final List<ExpressDto> all, final HttpServletResponse response) throws IOException;
}
